package com.ts.test;

import com.gitee.apanlh.util.log.Dev;
import com.ts.api.module.api.entity.bo.ApiDecryptBO;
import com.ts.api.module.api.entity.po.ApiKeyPO;

/**
 * @author Pan
 */
public class DecryptDemo {

    private static final String plat_key = "4987cd682c336e06142f2eb0722dfc05e5741c42df6171067c7c118d297743cc";
    private static final String market_key = "8cf70e3cf21ab7c1bca151943e6b2df80ba6a8d9b217940ac6c6b53ca8d6ea5e";

    public static void main(String[] args) {
        String decrypt = "a1de3f2257db1e7a4b503f158f59dee67d8d70d87b6d7fd57d0ec00cf4233793b24ec74c38bc0d3828f0bbf8f176cfb1b7d630808e9327f117311db1b20460b1e003480079ee9ff71c3304b4afcfa215fdb95d513c7840b142f2ead4cf01f7cccf1936758892b3b486cd47a4a4898049aea0d16099e4c0e3aa7d1db58494f35bb6b4039e835372aa316312d714bdfce5eefa3761a335fc26c38232c78ae4873d70ff063429907a41ae0a07f7242aa2650a247e1bb6555967b9fcbd1f0df15609b0d6f36375101ecfb77f8b75ffd7e80aef31656f6c30dcc4de8b6a7ac319697f1d3a215ad35eba8a9c24d552b40e1fa41667772c769be2cad1305e70e753a1cc58999fb76be0817c09b3f4126be41b8180a1ae5e25c1100153ef46f5ac8dac8f0cf2a3749e35a8e2b9386fec9c71edfed73c37daa450a096ac3b70ac7d35d035c69ddcc09daf2016a20d9d2b050bbb27ec933ad6fdb8cfe8ad88723818b936656a32df27b2e802715faec41ebdae33cbcf8643fa8a2288747e40cbdf4e42ac944c1da7ad8fdd85d6c7bd076d0b5732a525399510290e84d6db8d3fe1ae340f0e84ed0b80c36cf6ba06d0cb7b985a71fd";

        ApiKeyPO apiKeyPO = new ApiKeyPO();
        apiKeyPO.setApiSecretKey(plat_key);
        ApiDecryptBO aes = ApiDecryptBO.aes(decrypt, apiKeyPO);
        Dev.log(aes.getContent());
    }

}
